# coding:utf-8
# 作者：理想国真恵玩

import numpy as np

arr1 = np.random.uniform(1, 100, 10)
print(arr1)

# 一维数组切片
print(arr1[1:5:2])

print('--------------')
arr2 = np.random.uniform(1, 100, (2, 5))
print(arr2)

# 二维数组切片
print(arr2[0:1, 1:4])
